<template>
  <div class="Header">
    <p>我是Header</p>
    <p>{{ count }}</p>
    <p>{{ b }}</p>
    <button @click="count++">累加</button>
  </div>
</template>

<script>
export default {
  name: "MyHeader",
  data() {
    return {
      count: 1,
    };
  },
};
</script>

<style>
.Header {
  background-color: cornflowerblue;
}
</style>
